package org.cqipc.edu.dao;

import org.apache.ibatis.annotations.Select;
import org.cqipc.edu.entity.Type1;

import java.util.List;

/**
 * @Description: 类别1数据接口
 * @ClassNmae: Type1Dao
 * @Author: HeYue
 * @DateTime: 2020-11-01 05:55
 **/
public interface Type1Dao {

    @Select("select * from type1")
    List<Type1> queryAll();

    @Select("select * from type1 where type1_id = #{id}")
    Type1 queryType1ById(Integer id);

}
